package com.financial.management;


import android.content.Intent;
import android.os.Bundle;

import android.util.Log;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;


public class SetActivity extends AppCompatActivity implements  View.OnClickListener {
    Button Set1,Set2,Set3,Set4;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_set);
        Set1 =findViewById(R.id.Set1);
        Set2 =findViewById(R.id.Set2);
        Set3 =findViewById(R.id.Set3);
        Set4 =findViewById(R.id.Set4);
        Log.d("PageTransition", "Arrived at Page B");
        Set1.setOnClickListener(this);
        Set2.setOnClickListener(this);
        Set3.setOnClickListener(this);
        Set4.setOnClickListener(this);



    }

    @Override
    public void onClick(View v) {


        switch(v.getId()){
            case R.id.Set1:
                Intent intent1=new Intent(getApplicationContext(),RegisterActivity.class);
                startActivity(intent1);
                break;
            case R.id.Set2:
                Intent intent2=new Intent(getApplicationContext(),RegisterActivity.class);
                startActivity(intent2);
            case R.id.Set3:
                Intent intent3=new Intent(getApplicationContext(),RegisterActivity.class);
                startActivity(intent3);
            case R.id.Set4:
                Intent intent4=new Intent(getApplicationContext(),RegisterActivity.class);
                startActivity(intent4);


        }

    }
}
